import request from '@/utils/request'

// 获取 列表分页数据  post 传data参数  get传params参数
// 获取医生列表
export function selectDoctorList() {
  return request({
    url: 'hisUser/selectDoctorList',
    method: 'post'
  })
}

// 根据科室查询护士
export function getNurseByDepId(data) {
  return request({
    url: 'hisUser/getNurseByDepId?depId=' + data,
    method: 'get'
  })
}

// 根据科室查询医生
export function getDoctorByDepId(data) {
  return request({
    url: 'hisUser/getDoctorByDepId?depId=' + data,
    method: 'get'
  })
}

